package com.lxq.live.util;

import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ModelAttribute;

import java.util.HashMap;

@ControllerAdvice
public class ServiceAttitude {
    @ModelAttribute(name = "serviceAttitude")
    public HashMap<String, Object> serviceAttitude() {
        var attitudeMap = new HashMap<String, Object>();
        attitudeMap.put("health", "正常");
        return attitudeMap;
    }
}
